package com.neuedu.demoweb.utils;

/**
 * web模块和操作常量,每添加一个Controller类，需要添加一个模块名称
 * 
 * @author chens
 *
 */
public class WebConstants {

	/**
	 * 管理员模块
	 */
	public static final String MODEL_ADMIN = "admin";

	/**
	 * 餐品模块
	 */
	public static final String MODEL_FOOD = "food";

	/**
	 * 新增操作
	 */
	public static final String ACTION_ADD = "add";
	/**
	 * 列表
	 */
	public static final String ACTION_LIST = "list";
	/**
	 * 修改
	 */
	public static final String ACTION_EDIT = "edit";

	/**
	 * 删除
	 */
	public static final String ACTION_DEL = "del";

	/**
	 * 搜索
	 */
	public static final String ACTION_SEARCH = "search";

	/**
	 * 查询
	 */
	public static final String ACTION_FIND = "find";

	/**
	 * 登录
	 */
	public static final String ACTION_LOGIN = "login";

	/**
	 * 修改密码
	 */
	public static final String ACTION_UPDATE_PASSWORD = "udpass";

	/**
	 * 系统登录出
	 */
	public static final String ACTION_LOGOUT = "logout";

}
